package com.hellogood.yaohuo.server.dao.factory;

import com.hellogood.yaohuo.server.dao.ColorDAO;
import com.hellogood.yaohuo.server.dao.CommonDAO;
import com.hellogood.yaohuo.server.dao.CupDAO;
import com.hellogood.yaohuo.server.dao.DeptDAO;
import com.hellogood.yaohuo.server.dao.GClassDAO;
import com.hellogood.yaohuo.server.dao.GoodsDAO;
import com.hellogood.yaohuo.server.dao.GoodsOrgDAO;
import com.hellogood.yaohuo.server.dao.GroupDAO;
import com.hellogood.yaohuo.server.dao.GroupQxDAO;
import com.hellogood.yaohuo.server.dao.GroupUserDAO;
import com.hellogood.yaohuo.server.dao.KcDAO;
import com.hellogood.yaohuo.server.dao.LogDAO;
import com.hellogood.yaohuo.server.dao.MkDAO;
import com.hellogood.yaohuo.server.dao.OrgDAO;
import com.hellogood.yaohuo.server.dao.PdDetailDAO;
import com.hellogood.yaohuo.server.dao.PdFormDAO;
import com.hellogood.yaohuo.server.dao.PsDetailDAO;
import com.hellogood.yaohuo.server.dao.PsFormDAO;
import com.hellogood.yaohuo.server.dao.PsThDetailDAO;
import com.hellogood.yaohuo.server.dao.PsThFormDAO;
import com.hellogood.yaohuo.server.dao.QuyuDAO;
import com.hellogood.yaohuo.server.dao.QuyuOrgDAO;
import com.hellogood.yaohuo.server.dao.QuyuhuizongDao;
import com.hellogood.yaohuo.server.dao.SizeDAO;
import com.hellogood.yaohuo.server.dao.ThDetailDAO;
import com.hellogood.yaohuo.server.dao.ThFormDAO;
import com.hellogood.yaohuo.server.dao.TzDAO;
import com.hellogood.yaohuo.server.dao.UserDAO;
import com.hellogood.yaohuo.server.dao.VendorDAO;
import com.hellogood.yaohuo.server.dao.VersionDAO;
import com.hellogood.yaohuo.server.dao.YKDetailDAO;
import com.hellogood.yaohuo.server.dao.YKFormDAO;
import com.hellogood.yaohuo.server.dao.YhDetailDAO;
import com.hellogood.yaohuo.server.dao.YhFormDAO;
import com.hellogood.yaohuo.server.dao.YsDetailDAO;
import com.hellogood.yaohuo.server.dao.YsFormDAO;

public class DAOFactory {
	private static DAOFactory instance;

	private DAOFactory() {

	}

	public synchronized static DAOFactory getInstance() {
		if (instance == null) {
			instance = new DAOFactory();
		}
		return instance;
	}

	public UserDAO createUserDAO() {
		return new UserDAO();
	}

	public OrgDAO createOrgDAO() {
		return new OrgDAO();
	}

	public ColorDAO createColorDAO() {
		return new ColorDAO();
	}

	public PsFormDAO createPsFormDAO() {
		return new PsFormDAO();
	}

	public PdFormDAO createPdFormDAO() {
		return new PdFormDAO();
	}

	public PsThFormDAO createPsThFormDAO() {
		return new PsThFormDAO();
	}

	public ThFormDAO createThFormDAO() {
		return new ThFormDAO();
	}

	public YhFormDAO createYhFormDAO() {
		return new YhFormDAO();
	}

	public YsFormDAO createYsFormDAO() {
		return new YsFormDAO();
	}

	public GroupDAO createGroupDAO() {
		return new GroupDAO();
	}

	public DeptDAO createDeptDAO() {
		return new DeptDAO();
	}

	public GClassDAO createGClassDAO() {
		return new GClassDAO();
	}

	public CommonDAO createCommonDAO() {
		return new CommonDAO();
	}

	public CupDAO createCupDAO() {
		return new CupDAO();
	}

	public GroupQxDAO createGroupqxDAO() {
		return new GroupQxDAO();
	}

	public GroupUserDAO createGroupUserDAO() {
		return new GroupUserDAO();
	}

	public SizeDAO createSizeDAO() {
		return new SizeDAO();
	}

	public QuyuDAO createQuyuDAO() {
		return new QuyuDAO();
	}

	public LogDAO createLogDAO() {
		return new LogDAO();
	}

	public QuyuOrgDAO createQuyuOrgDAO() {
		return new QuyuOrgDAO();
	}

	public KcDAO createKcDAO() {
		return new KcDAO();
	}

	public PdDetailDAO createPdDetailDAO() {
		return new PdDetailDAO();
	}

	public YsDetailDAO createYsDetailDAO() {
		return new YsDetailDAO();
	}

	public ThDetailDAO createThDetailDAO() {
		return new ThDetailDAO();
	}

	public PsThDetailDAO createPsThDetailDAO() {
		return new PsThDetailDAO();
	}

	public YhDetailDAO createYhDetailDAO() {
		return new YhDetailDAO();
	}

	public PsDetailDAO createPsDetailDAO() {
		return new PsDetailDAO();
	}

	public VendorDAO createVendorDAO() {
		return new VendorDAO();
	}

	public MkDAO createMkDAO() {
		return new MkDAO();
	}

	public GoodsDAO createGoodsDAO() {
		return new GoodsDAO();
	}

	public TzDAO createTzDAO() {
		return new TzDAO();
	}

	public GoodsOrgDAO createGoodsOrgDAO() {
		return new GoodsOrgDAO();
	}

	public QuyuhuizongDao createQuyuhuizongDAO() {
		return new QuyuhuizongDao();
	}

	public VersionDAO createVersionDAO() {
		return new VersionDAO();
	}

	public YKFormDAO createYKFormDAO() {
		return new YKFormDAO();
	}

	public YKDetailDAO createYKDetailDAO() {
		return new YKDetailDAO();
	}
}
